package Visitor_Pattern.School;

import java.util.ArrayList;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class People_list {
    private ArrayList<People> list=new ArrayList<People>();

    public void addPeople(People people){
        list.add(people);
    }
    public void start(Award_Check award_check){
        for(Object obj:list){
            ((People)obj).check(award_check);
        }
    }
}
